from keras import models

for layer in model_dogs_cats.layers:
    print(layer.name)
